
<%@page contentType="text/html" pageEncoding="UTF-8" isELIgnored="false"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE html>
<html>
    <head>

        <link href="divcss5.css" rel="stylesheet" media="screen" type="text/css" />
        <script language="javascript" type="text/javascript" src="${pageContext.request.contextPath}/document/j.js" ></script>
        <link href="${pageContext.request.contextPath}/css/cont.css" rel="stylesheet" type="text/css"/>
        <script type='text/javascript' src='${pageContext.request.contextPath}/dwr/interface/CountryDAO.js'></script>
        <script type='text/javascript' src='${pageContext.request.contextPath}/dwr/interface/ProductDAO.js'></script>
        <script type='text/javascript' src='${pageContext.request.contextPath}/dwr/interface/DocumentTypeDAO.js'></script>
        <script type="text/javascript" src="${pageContext.request.contextPath}/js/zcms/zDialog.js"></script>
        <script type="text/javascript" src="${pageContext.request.contextPath}/js/zcms/zDrag.js"></script>
        <script type='text/javascript' src='${pageContext.request.contextPath}/dwr/engine.js'></script>
        <script type='text/javascript' src='${pageContext.request.contextPath}/dwr/util.js'></script>
        <script language="JavaScript" type="text/javascript"
                src="${pageContext.request.contextPath}/js/DatePicker/WdatePicker.js">
        </script>
        <script type="text/javascript" src="${pageContext.request.contextPath}/js/cont_diqu.js"></script>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">      
        <title>业务案例</title>
        <script>
        
            
            function check()
            {
                var g = document.getElementById("t_con").innerText ;
                alert(g);
                document.getElementById("ca.countryName").value=g;
          
                document.form.submit();
            }
            
            function showarea1(){ 
                var con = document.getElementById("t_area1"); 
                var arealist = con.getElementsByTagName("li"); 
                var g = document.getElementById("t_con1") 
                con.style.display = "block"; 
                for (var i=0;i<arealist.length;i++){ 
                    arealist[i].onclick = function(){ 
                        g.innerHTML = this.innerHTML ; 
                        con.style.display = "none"; 
                    } 
                } 
            } 
            function offarea1(){ 
                var con = document.getElementById("t_area1"); 
                con.style.display = "none"; 
            } 
            var timer1; 
            
            
            function showarea(){ 
                var con = document.getElementById("t_area"); 
                var arealist = con.getElementsByTagName("li"); 
                var g = document.getElementById("t_con") 
                con.style.display = "block"; 
                for (var i=0;i<arealist.length;i++){ 

                    arealist[i].onclick = function(){ 
                        g.innerHTML = this.innerHTML ; 
                        con.style.display = "none"; 
                    } 
                } 
            } 
            function offarea(){ 
           
                var con = document.getElementById("t_area"); 
                $("#t_area").css("display","none");
            } 
            var timer;
        </script>
        <style type="text/css"> 
            #t_area {
                filter: e&shy;xpression(document.execCommand("BackgroundImageCache", false, true));
            }


            *{ padding:0; margin:0; list-style-type:none;} 
            body{font-family: "宋体";font-size: 12px;} 
            #t_con{  float:left;width:96px;height:22px; background:url(images/sousuo_diqu.jpg) no-repeat right center;line-height:20px; color:#00F; cursor:pointer; margin:0px auto 0 auto; border:1px #D1D1D1 solid;} 
            #t_area{ width:268px; overflow:hidden; border:2px #09C solid; background-color:#F1F9FC; display:none; height:auto; min-height:300px;_height:300px;position:absolute; left:5px;top:22px;  width:550px; height:auto; border:2px solid #B4B2A6; background:#ffffff; z-index:1} 
            #t_area ul{ margin:5px 0;} 
            #t_area li{ width:60px; height:30px; line-height:30px;float:left; display:inline; text-align:center;margin:4px auto auto 5px; } 
            #t_area li a{ display: block;color:#444444; text-decoration:none;height:30px; line-height:30px; text-align:center;} 
            #t_area li a:hover,a:active{display: block;color:#ff0000;height:30px; line-height:30px;background:#FF9600;font-weight:bold;text-align:center;} 
            #liuhanning{position:absolute; top:25px; left:10px; padding:0;width:100px; height:auto; border:1px solid #A3A3A3; background:#ffffff; z-index:1000!important}
            #liuhanning ul li{ width:40px; white-space:nowrap; float:left;height:30px; line-height:30px;z-index:10000}
            #liuhanning ul li a:link,#liuhanning ul li a:visited{ display:block;padding:0 2px 0 2px; width:auto; font-weight:200; margin:0;height:24px; text-align:center;line-height:24px;}
            #liuhanning ul li a:hover{display:block;padding:0 2px 0 2px;width:auto;height:24px;margin:0;font-weight:200; text-align:center; color:#ffffff;background:#FF9600;}
        </style> 
    </head>
    <body>
        <div class="page">
            <s:include value="/top.jsp"/>

            <!--首页开始-->
            <div class="cont">
                <div class="lb_select" style="position:relative">
                    <s:form action="findlist" namespace="/documentCase" method="post" theme="simple" id="form">
                        <s:hidden id="page" name="page"></s:hidden>
                        <s:hidden id="pageSize" name="pageSize"></s:hidden>
                        <s:hidden id="ca.countryName" name="ca.countryName"></s:hidden>
                        <div id="t_con" onmouseover="showarea();clearTimeout(timer)" onmouseout="timer=setTimeout('offarea()',200);">${ca.countryName}</div>
                        <div  id="t_area" onmouseover="showarea()" onmouseout="offarea();clearTimeout(timer)"> 

                            <ul>

                                <s:iterator value="clist" var="c" status="u">

                                    <div style=" float:left; width:auto; height:auto;position:relative">

                                        <li id="lhn_nav${u.index}"><a href="#">${c.name}</a></li>
                                        <s:if test="#c.list!=null">
                                            <div class="t_con_div${u.index}" style="display:none" id="liuhanning">
                                                <s:iterator value="#c.list" var="c2">

                                                    <ul>
                                                        <li><a href="#">${c2.name}</a></li>
                                                    </ul>
                                                </s:iterator></div></s:if>
                                        </div>

                                </s:iterator>





                            </ul>

                        </div>
                        <ul>
                            <li>案例名称</li><li><input id="ca.name" name="ca.name" value="${ca.name}" /></li>
                            <li> 从 <s:textfield id="starttime" name="startTime"
                                         onclick="WdatePicker()" cssClass="Wdate"
                                         onfocus="WdatePicker({dateFmt:'yyyy-MM-dd'})" style="width:40%"></s:textfield>

                                </li>
                                <li> 到 <s:textfield id="endtime" name="endTime"
                                         onclick="WdatePicker()" cssClass="Wdate"
                                         onfocus="WdatePicker({dateFmt:'yyyy-MM-dd'})" style="width:40%"></s:textfield>

                            </li>

                            <li><img onclick="check();" src="${pageContext.request.contextPath}/images/lb_select_anniu.jpg"/></li>
                        </ul>
                    </s:form>
                </div>

                <div class="lb_cont">
                    <s:iterator value="pageBean.list" var="dc" status="u">
                        <div class="lb_cont_1">
                            <div class="lb_cont_1_left">
                                <ul>
                                    <li class="lb_cont_1_li1"><a href="#">案例名称：${dc.name}</a><font>&nbsp;&nbsp; 案例编码：${dc.code}</font><font>&nbsp;&nbsp; 产品：${dc.productName}</font></li>
                                    <li>案例要点和解析：${dc.fillSummy} &nbsp;&nbsp;&nbsp;</li>

                                    <li class="lb_cont_1_li2">采购国：${dc.countryName}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 业务时间：${dc.time}</li>
                                </ul>
                            </div>
                                    <div class="lb_cont_1_right"><img onclick="window.open('${pageContext.request.contextPath}/documentCase/dcshow.action?caseId=${dc.id}', 'newwindow');" src="${pageContext.request.contextPath}/images/lb_ent.jpg"/></a></div>
                        </div>
                    </s:iterator>

        <!--<div class="lb_cont_1_right"><a href="${pageContext.request.contextPath}/case/dc_show.jsp"><img src="${pageContext.request.contextPath}/images/lb_ent.jpg"/></a></div>-->
                </div>


            </div>   <s:include value="/common/page.jsp"/>
            <s:include value="/bottom.jsp"/>
        </div>

        <!--首页结束-->

    </div>
    <!-- /header -->
    <div class="w960"> </div>
    <!-- /flink -->
    <!-- //底部模板 -->
    <div id="js">
        <script type="text/javascript" src="common.js"></script>
        <script type="text/javascript" src="scroll.js"></script>
        <div id="go_top_bottom"><a href="javascript:void(0);" id="go_top" style="display: block;">去顶部</a> <a href="javascript:void(0);" id="go_bottom">去底部</a></div>
    </div>
    <div id="menuContent" class="menuContent" style="display:none; position: absolute;">
        <ul id="treeDemo" class="ztree" style="margin-top:0; width:160px;"></ul>
    </div>
    <!-- /footer -->
</body>
</html>
